package com.yuncheng.spcyApi.config;

/*import lucenex.api.FgTkApi;
import lucenex.api.FgXcjcwtApi;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;*/

/*@Configuration
@ConfigurationProperties(prefix = "lucene")*/
public class LuceneConfig {
    /*private String baseUrl;
    private String dataKeyTk;

    private String dataKeyXcjcwt = "xcjcwt";

    @Bean
    public void initTkLucene(){
        FgTkApi.InitIndexFile(dataKeyTk, baseUrl);
    }

    @Bean
    public void initTkXcjcwt(){
        FgXcjcwtApi.InitIndexFile(dataKeyXcjcwt, baseUrl);
    }

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public String getDataKeyTk() {
        return dataKeyTk;
    }

    public void setDataKeyTk(String dataKeyTk) {
        this.dataKeyTk = dataKeyTk;
    }

    public String getDataKeyXcjcwt() {
        return dataKeyXcjcwt;
    }

    public void setDataKeyXcjcwt(String dataKeyXcjcwt) {
        this.dataKeyXcjcwt = dataKeyXcjcwt;
    }*/
}
